Package("com.shihua.common.GetValueTableConfig");
/**
 * 
 */
com.shihua.common.GetValueTableConfig={
	getCompany: {
		table: [["name", "公司名称", 1],["registrationName","注册名称",1],["id", "ID", 0]],
		search:[["fname", "公司名称:",1],["fregistrationName","注册名称:",1]]
		,core: {orderBy:"+fname"}
	},
	getCompanyCot: {
		table: [["viewname", "公司名称", 1], ["id", "ID", 0],["name","注册名称:",1]],
		search:[["fname", "公司名称:",1],["fregistrationName","注册名称:",1]]
		,core: {orderBy:"+fname"}
	},getBranch: {
		table: [["name", "店铺名称", 1],["companyName", "公司名称", 1],["companyId", "公司ID", 0], ["id", "ID", 0]],
		search:[["b.fname", "店铺名称:",1],["c.fname", "公司名称:", 1]]
		,core: {orderBy:"+c.fname,+b.fname"}
	},
	getContractNum:{
		table:[["id","合同编号",1],["name","姓名",1],["id","合同编号",0],["persionid","persionid",0]],
		search:[["p.Fname","姓名",1],["c.Fnumber","编号",1]],
		core: {orderBy:"+c.fid"}
	},getOrg: {
		table: [ ["id", "ID", 0],["name", "组织名称", 1], ["longnumber", "longnumber", 0]],
		search:[["fname", "组织名称:",1]]
		,core: {orderBy:"+flongnumber",type:"checkbox"}
	},
	getBroker:{
		table:[["id","ID",0],["name","姓名",1],["companyName","公司",1],["idCard","身份证",1],["phone","电话",1],["branchid","branchid",0]],
		search:[["b.fname","姓名",1]],
		core: {orderBy:"+c.fid"}
	},
	getSaler:{
		table:[["id","ID",0],["name","姓名",1],["orgname","部门",1],["positionName","职务",1]],
		search:[["person.fname","姓名",1]],
		core: {orderBy:"+person.fid"}
	},
	getAreaTemplate:{
		table: [["name", "板块名称", 1],["pName","区域名称",1],["id", "ID", 0]],
		search:[["t.fname", "板块名称:",1],["ar.fname", "区域名称:",1]],
		core: {orderBy:"+t.fname"}
	},getResource: {
		table: [["id", "ID", 0],["code", "code", 0], ["name", "名称", 1],["moduleId", "moduleId", 0]],
		search:[["r.fname","名称",1]],
		core: {orderBy:"+fname",type:"checkbox"}
	},getPosition: {
		table: [ ["id", "ID", 0],["name", "名称", 1]],
		search:[["fname", "名称:",1]]
		,core: {orderBy:"+fname",type:"checkbox"}
	},
	getJoinBranchOwner: {
		table: [["name", "店东名称", 1],["id", "ID", 0]],
		search:[["t.fname", "店东名称:",1]]
		,core: {orderBy:"+fname"}

	},
	getJoinPackage:{
		table: [["name", "套餐名称", 1],["id", "ID", 0],["usePeriod", "有效日期", 0],["freePeriod", "免费时长", 0],["packagePrice", "套餐价格", 0],["ensurePrice", "保证金", 0],["discountRatio", "折扣率", 0]],
		search:[["fname", "套餐名称:",1]]
		,core: {orderBy:"+fid"}
	},
	getJoinBranch:{
		table: [["joinorgid","joinorgid",0],["name", "店铺名称", 1],["companyName", "公司名称", 1],["typeName","加盟类型",1],["companyId", "公司ID", 0], ["id", "ID", 0],["joinType","joinType",0]],
		search:[["b.fname", "店铺名称:",1],["c.fname", "公司名称:", 1]]
		,core: {orderBy:"+c.fname,+b.fname"}

	},
	getErpOrg: {
		table: [["name", "城市名称", 1],["id", "ID", 0], ["longnumber", "longnumber", 0]],
		search:[["fname", "城市名称:",1]]
		,core: {orderBy:"+fname"}
	},
	getErpPositionType: {
		table: [["name", "岗位名称", 1],["orgname", "组织名称", 1],["id", "ID", 0]],
		search:[["t.fname", "岗位名称:",1]]
		,core: {orderBy:"+t.fname"}
	},
	getJoinBroker:{
		table: [["name", "姓名", 1],["joinbranchName", "店铺", 1],["positionName", "岗位", 1],["posionId","posionId",0],["type","type",0],["id", "ID", 0]],
		search:[["jk.fname", "姓名:",1]]
		,core: {orderBy:"+jk.fid"}
	},getPositionType: {
		table: [ ["id", "ID", 0],["name", "名称", 1]],
		search:[["fname", "名称:",1]]
		,core: {orderBy:"+t.fname"}
	},
	getJoinSaler:{
		table:[["id","ID",0],["name","姓名",1],["orgname","部门",1],["positionName","职务",1]],
		search:[["person.fname","姓名",1]],
		core: {orderBy:"+person.fid"}
	}
}

